<?php

namespace App\Http\Controllers\Admin;

use Illuminate\Http\Request;
use App\Http\Controllers\Controller;
use App\Model\Suggestmessage;

class SuggestController extends Controller
{
    public function suggestMessage()
    {

    	$messages = Suggestmessage::select('id','name','email','message','addtime')->orderBy('id','desc')->paginate(8);
    	

    	// dd($messages);
    	return view('Admin/SuggestAdmin/suggest',['messages'=>$messages]);
    }
}
